<?php

header("Content-type:text/html;charset=utf-8");

$id=$_POST["useid"];
$img=$_POST["img"];
$title=$_POST["usetitle"];
$ml=$_POST["useml"];
$num=$_POST["usenum"];
$price=$_POST["price"];
$conn = mysql_connect("localhost","root","root");
	
mysql_select_db("zrt");
$sql = "insert into car(use_id,use_img,use_title,use_ml,use_num,use_prace) values('$id','$img','$title','$ml','$num','$price')";

$result = mysql_query($sql,$conn);
	
	echo $result;
	mysql_close($conn);
	
?>